home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
earcd
/
comm
/
cnet
/
cnet_mil.lha
/
milles
/
CNetMilles.Show
< prev
next >
Wrap
Text File
|
1997-02-01
|
2KB
|
39 lines
/**************************************************************************\
$VER: Mille Bornes Show, v1.16 (2-Feb-97) by Dotoran of Frontiers!
\**************************************************************************/
options results;signal on SYNTAX;signal on ERROR;signal on IOERR
a=sourceline(2);parse var a . . . ", "ver" ("vdate")" .;a=random(,,time("s"))
tr=transmit;se=sendstring;gc=getchar;gu=getuser;gs=getscratch;mg=maygetchar
parse source . . fp .;path=left(fp,max(lastpos('/',fp),lastpos(':',fp)))
bar="cd"copies(d2c(196),79) ; c=0
START: ; c=c+1 ; if c>4 then signal START2
a1=random(1,2) ; a2=random(2,5) ; if a2=5 then a2=6
if ~exists(path"CNetMilles.Hi"word("Hands Games",a1)a2) then signal START
call open(f1,path"CNetMilles.Hi"word("Hands Games",a1)a2,"r")
do i=1 to 10;y=readln(f1);parse var y score.i" "y;scoreT.i=strip(y);end i
call close(f1) ; signal SHOWSCORES
START2: ; score.=0;scoreT.="700 00-Jan-00 00:00AM No One Yet"
SHOWSCORES: ; t="H A N D" ; if a1=2 then t="G A M E"
tr "f1@4z4ce CNet Mille Bornes, "ver" last updated "vdate" by Dotoran of Frontiers BBS! z0"
tr bar;tr "CcfC u r r e n t r1c"substr("a9",a1,1)" H I G H "t" r0 cfS c o r e sn1"
tr "Cc7For cd"a2"-Player c7Gamesn1"
tr "CcfPoints caMiles cbDate/Time Achieved cePlayer Name(s)";tr bar
do i=1 to 10;se "cf"right(score.i,16);parse var scoreT.i v1 v2 v3 v4
tr "ca"right(v1,7)" cb"v2" "right(v3,8)" ce"v4;end i;tr bar
se "n1Cc7Would cbYOU c7like to try getting caYOUR c7name on the ceabove c7list? cf[ceNocf]ce: "
gc;a=result;call CHECK;if a~="Y" then do;tr "No";exit;end;else tr "Yesn1"
se "c7Now celoading cbMille Bornesc7...#0"path"CNetMilles}"
exit
CHECK:;if ARG() & ARG(1)~='###PANIC' then return ARG(1)
getcarrier;if result='TRUE' then if ARG() then return ARG(1);else return
logentry 'Lost Carrier!!';bufferflush;exit
SYNTAX:;ERROR:;IOERR:;e1="n1 Error: "rc" ("errortext(rc)")"
e2=" Line: "left(sigl,4)"File:";c="`"fp", "ver"'";e2=e2" "c;tr e1;tr e2
logentry e1;logentry e2;e=strip(translate(sourceline(sigl),"\{",""))
do while e~="";e3="Source: "left(e,37);tr e3;logentry e3;e=substr(e,38);end
bufferflush
/**************************************************************************\
\****************************************** Frontiers BBS (716)/823-9892 **/